import unlikebox from "../components/unlikebox.vue";

export default {
    name:'mx-unlikebox',
    components:{
        [unlikebox.name]:unlikebox,
    },
    methods:{
        removeItem(args, idx) {
            /**
             * args 
             * 0 item
             * 1 event
             */
            let rect = args[1].currentTarget.getBoundingClientRect();
            this.$refs.unlike.$emit('show',{
                rect,
                list:this.news.list,
                index:idx
            })  
        },
    }
}